package com.liudadan.spring_ioc_04;

public class UserService {
    private UserDao userDao;
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void findAll(){
        userDao.selectData();
    }

}
